<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
</head>
<body>
    <div id="index">
    	
    </div>
</body>
<script type="text/javascript" src="/js/layui/layui.js"></script>
<script type="text/javascript" src="/js/vue.js"></script>
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/axios.min.js"></script>
<script type="text/javascript" src="/js/connection.js"></script>
<script>
var indexVue =new Vue({
	el: '#index',
    data: {
        
    },

    mounted: function () {
        var that = this;
        this.init();
    },
    methods:{
    	init:function(){
    		var target = this;
            target.fetch({
                url: 'test/4',
                method: 'GET',
                params: {
                    page: 1,
                    per_page: 20,
                    job_id: 1
                }
            }).then(function (response) {
            	console.log(response.data);
            });
    	}
    }
})
</script>
</html>